package com.eden.config;

import com.eden.constant.Constant;

/**
 * 分布图配置类
 * @author Eden
 *
 */
public class Chart {
	public final static int CHART_BAR = 0 ;
	public final static int CHART_BAR3D = 1 ;
	public final static int CHART_LINE = 2 ;
	public final static int CHART_PIE = 4 ;
	
	private int type ;
//	图表名称
	private String title ;
	private String xName ;
	private String yName ;
	
	public Chart(){
		this.type =  CHART_BAR;
		this.title = "成绩分布图" ;
		this.xName = "分数段" ;
		this.yName = "人数" ;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getxName() {
		return xName;
	}
	public void setxName(String xName) {
		this.xName = xName;
	}
	public String getyName() {
		return yName;
	}
	public void setyName(String yName) {
		this.yName = yName;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
	
}
